package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {
    /**
     * 批量插入口味
     * */
    void insertBatch(List<DishFlavor> dishFlavors);
    /**
     * 批量删除口味列表
     * */
    void deleteBatch(List<Long> ids);

    List<DishFlavor> getByDishId(Long id);
}
